<template id="id"> <!-- vue实例外创建 -->
    <div>
        MV

    </div>
</template>
<!-- 调用   <mycom></mycom> -->

<script>
import { GetMv } from '@/api/mv';
export default{
    data(){
        return{
            id:'',
        }
    },
    mounted() {
        this.id = this.$route.query.id
        // console.log(this.id)
        this.GetMv()
    },
    methods:{
       async GetMv(){
        let res = await GetMv({id:this.id})
        console.log(res)
        }
    }
}
</script>